package soccerBet.project.utils;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class Prop {
	
	public static Properties properties;
	
	public Prop(){

		InputStream is = 
			this.getClass().getResourceAsStream("/files/global.properties");  
		
//		File file = new File("files\\global.properties");
        FileInputStream input;
	
//			input = new FileInputStream(file);
	        this.properties = new Properties();
	        
	        try {
	        	this.properties.load(is);
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
        
		
	}
	
}
